package com.taobao.wolfwolf.hibernate.pojo;

import java.util.ArrayList;
import java.util.List;

public class Category implements java.io.Serializable {

	private static final long serialVersionUID = -7363568314571924945L;
	private Integer id;
	private String name;
	private String descs;
	private List<Type> types = new ArrayList<Type>();

	public Category() {
	}

	public Category(String name, String descs, List<Type> types) {
		this.name = name;
		this.descs = descs;
		this.types = types;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescs() {
		return this.descs;
	}

	public void setDescs(String descs) {
		this.descs = descs;
	}

	public List<Type> getTypes() {
		return this.types;
	}

	public void setTypes(List<Type> types) {
		this.types = types;
	}

}